package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    // instance variables - replace the example below with your own
    private long id;
    private String name;
    private String address;
    private int zipCode;
    private String city;
    private int phone;

    /**
     * Constructor for objects of class Person
     */
    public Person(long idNumber, String namePerson, String newAddress, int newZipCode, String newCity, int newPhone)  
    {
        // initialise instance variables
        id = idNumber;
        name = namePerson;
        address = newAddress;
        zipCode = newZipCode;
        city = newCity;
        phone = newPhone;
        
    }
    //Get methode
    public long getId()
    {
        // put your code here
        return id;
    }
    public String getName()
    {
        return name;
    }
    public String getAddress()
    {
        return address;
    }
    public int getZipCode()
    {
        return zipCode;
    }
    public String getCity()
    {
        return city;
    }
    public int getPhone()
    {
        return phone;
    }
    //Set methode
    public void setId(long idNumber)
    {
        id = idNumber;
    }
    public void setName(String  namePerson )
    {
       name = namePerson;
    }
    public void setAddress(String newAddress )
    {
         address = newAddress;
    }
    public void setZipCode(int newZipCode)
    {
        zipCode = newZipCode;
    }
    public void setCity(String newCity)
    {
        city = newCity;
    }
    public void setPhone(int newPhone)
    {
         phone = newPhone;
    }   
}
